#include <cpr/cpr.h>
#include <iostream>

int main(int argc, char** argv) {
    cpr::Response r = cpr::Get(cpr::Url{"https://betaapi.bitexch.dev/linear/v1/instruments?currency=USDT"});
    std::cout << "r.status_code " << r.status_code << std::endl;                  // 200
    std::cout << "r.header['content-type'] " << r.header["content-type"] << std::endl;       // application/json; charset=utf-8
    std::cout << "r.text " << r.text << std::endl;                         // JSON text string
    return 0;
}